//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package hello;

import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration;
import javax.servlet.annotation.HandlesTypes;
import java.util.Set;

@HandlesTypes({HandlerInitializer.class})
public class HandlerInitializer implements ServletContainerInitializer {


    public HandlerInitializer() {
        int i = 0;
    }

    public void onStartup(Set<Class<?>> c, ServletContext servletContext)
            throws ServletException {
        System.out.println("onStartup");
        ServletRegistration registration = servletContext.addServlet("ServletManualReg", "hello.ServletManualReg");
        registration.addMapping("/manual_reg");
        System.out.println("leaving onStartup");
    }
}
